package com.ctshk.rpc.system.enums;

/**
 * 系统通知-消息来源
 *
 * @author 叶冠峰
 * @since 2021-03-18
 */
public enum MessageSource {
    
    BOOK_CENTER(1, "預订中心"),
    PRODUCT_CENTER(2, "產品中心"),
    ORDER_CENTER(3, "訂單中心"),
    RESOURCE_CENTER(4, "資源中心"),
    ADVANCE_COLLECTION_MANAGE(5, "預收管理"),
    SUBSCRIPTION_MANAGE(6, "认款管理"),
    CUSTOMER_RECONCILIATION(7, "客户对账"),
    OPERATE_CENTER(8, "運營中心"),
    GUIDE_CENTER(9, "導領中心"),
    ON_ACCOUNT_MANAGE(10, "挂账管理"),
    ON_ACCOUNT_MANAGE_WRITE_OFF(11, "挂账管理-銷賬"),
    SALES_ORDER_REFUND(12, "销售订单退款"),
    SPECIAL_COLLECTION(13, "特殊收款"),
    PREPAID_MANAGE(14, "預付管理"),
    SUPPLIER_RECONCILIATION(15, "供應商對賬"),
    SUPPLIER_PAY(16, "供應商實付"),
    TEAM_BOOK(17, "團隊預訂"),
    SUBMIT_SETTLEMENT(18, "提交结算"),
    CONFIRM_ORDER(19, "確認訂單"),

    ;

    private Integer code;
    private String msg;

    MessageSource(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
